<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>

    <meta charset="utf-8" />
    <title>首页</title>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />


    <style type="text/css">
        body{
            font-family:微软雅黑;
            font-size:14px;
        }
    </style>


</head>

<body>
<div th:fragment="topnav">
    <nav class="navbar navbar-default" style="background: none repeat scroll 0 0 #394755;color:#fff;height:60px;">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header" style="margin-right:20%;">
                <a class="navbar-brand" href="/mainframe" style="color:#fff;">测试系统</a>
            </div>

            <!-- 退出 -->
            <a class="navbar-brand" href="/user/logout" style="color:#fff;float:right;" >退出</a>

            <!-- 欢迎语 -->
            <div class="navbar-brand" style="margin-right:30px;font-size:15px;float:right;color:#f5d313;">
                欢迎您,<span >亲爱的用户</span>  现在是
                <span id="time"></span>

            </div>

        </div>
    </nav>
</div> <!-- 导航条 -->

<div layout:fragment="content"></div>

<!-- put the scripts below -->
<script src="/js/jquery-1.11.1.min.js"></script>
<script layout:fragment="script" type="text/javascript">

</script>
</body>

</html>